import request from '@/utils/request'

// 查询设备列表
export function getList(data) {
	return request({
		url: '/device/list',
		method: 'post',
		data: data
	})
}
// 新增或者编辑设备
export function addOrEditData(data) {
	return request({
		url: '/device/edit',
		method: 'post',
		data: data
	})
}

// 删除设备
export function delData(data) {
	return request({
		url: '/device/del',
		method: 'post',
		data: data
	})
}